This folder contains replication materials for the following paper:

Zvobgo, Kelebogile and Benjamin A.T. Graham. Forthcoming. �The World Bank as an Enforcer of Human Rights?� Journal of Human Rights.

Replication Materials posted in March/April 2020.

Please find the following files in this folder:

1) This readme file

2) 2_WBHR_Data_zg2020.dta 
This file contains all the data necessary to produce the tables and figures in this paper. 

3) 3_WBHR Main Regression analysis (non-mediation) zg2020.do
This is at STATA .do file that completes the primary analysis for this paper and the online appendix and makes most of the tables. The only analysis not completed in this file relate to the mediation analysis and the estimates of our index measure of complaint quality.  

4) 4_mediation_analysis_zg2020.R
This file conducts the mediation analysis and creates Figure 7 in the main paper. 

5) 5_theta_fundamentals_zg2020.R
This file estimates a latent variable model and produces our estimates of complaint quality. These estimates of complaint quality are included in WBHR_Data_zg2020.dta as theta_fundamentals.

6) 6_WBHR_compiled_figures_zg2020.R
This file creates all of the figures included in the main manuscript.

ADDITIONAL NOTES:

# Operating System

macOS Catalina version 10.15.2

# R

R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)

# Xcode

Xcode version 11.3 (11C29)	
Must be installed on your machine for RStan to run.